<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" xmlns:th="http://www.thymeleaf.org">
    <title>Title</title>
</head>
<body>

    <h1>success</h1>

    <p th:text="${key1}">获取request中存储的数据</p>


    <p th:text="${session.key2}">获取session中存储的数据</p>

</body>
</html>